½Ŀ¼:

9.2. ͳƹ
   9.2.1. ȡͳб
   9.2.2. Ⱥͳ
   9.2.3. ƥ, ƶ
   9.2.4. ƥ, ƶ
   9.2.5. ӷͳ
   9.2.6. ޸ķͳ
   9.2.7. ɾͳ
   
9.2. ͳƹ:

     ˵:
     趨ʵַзͳ, ͬͳƹֱɱ.

9.2.1. ȡͳб:
     
     +-----------------+
     |Client -> Server:|
     +-----------------+
     
     a. : POST  GET;
     
     b. : http://xxxxx.com/fikker/webcache.fik?type=stat&cmd=list
     
     c.  URL :
        
        SessionID - ¼Ự ID;
        
     +-----------------+
     |Server -> Client:|
     +-----------------+
     
     a. :
        
        Return: 
        , True - ɹ, False - ;
        
        ErrorNo:
        ,  Return ֵΪ False ʱ˱Ч;
        
        NumOfLists:
        б, бж;
        
        NO:
        беǰöٵ, ǰöٵǵڼ, 
        Сڵ NumOfLists ֵ, ȡֵΧ: 1 ~ NumOfLists;
        
        StatID:
        ͳƱʶ ID,  Return ֵΪ True ʱ˱Ч;
        
        StatUrl:
        ͳ URL = Host + Path;
        
        Icase:
        ǷԴСд ignore case, (0), (1);
        
        Rules:
        ӵַƥ, ʹͨƥ(0), ʹʽƥ(1), ȷƥ(2);
        
        Note:
        ע˵,  500 ֽ;
        
9.2.2. ѯͳ:
     
     +-----------------+
     |Client -> Server:|
     +-----------------+
     
     a. : POST  GET;
     
     b. : http://xxxxx.com/fikker/webcache.fik?type=stat&cmd=query
     
     c.  URL :
        
        StatID - ͳƱʶ ID;
        SessionID - ¼Ự ID;
        
     +-----------------+
     |Server -> Client:|
     +-----------------+
     
     a. :
        
        Return: 
        , True - ɹ, False - ;
        
        ErrorNo:
        ,  Return ֵΪ False ʱ˱Ч;
        
        NumOfLists:
         1, Ϊ 0;
        
        NO:
        беǰöٵ, ǰöٵǵڼ, 
        Сڵ NumOfLists ֵ, ȡֵΧ: 1 ~ NumOfLists;
        
        StatID:
        ͳƱʶ ID,  Return ֵΪ True ʱ˱Ч;
        
        StatUrl:
        ͳ URL = Host + Path;
        
        Icase:
        ǷԴСд ignore case, (0), (1);
        
        Rules:
        ӵַƥ, ʹͨƥ(0), ʹʽƥ(1), ȷƥ(2);
        
        Note:
        ע˵,  500 ֽ;

9.2.3. ƥ, ƶ:

     ˵: ͳбǰ˳ƥ, ˳ܹͨϻλ, 
     еƥ˳;
     
     +-----------------+
     |Client -> Server:|
     +-----------------+
     
     a. : POST  GET;
     
     b. : http://xxxxx.com/fikker/webcache.fik?type=stat&cmd=up
     
     c.  URL :
        
        StatID - ͳƱʶ ID, ˺ƥ˳һλ;
        SessionID - Ա¼Ự ID;
     
     +-----------------+
     |Server -> Client:|
     +-----------------+
     
     a. :
        
        Return: 
        , True - ɹ, False - ;
        
        StatID:
        ͳƱʶ ID ;
        
        ErrorNo:
        ,  Return ֵΪ False ʱ˱Ч;
     
9.2.4. ƥ, ƶ:

     +-----------------+
     |Client -> Server:|
     +-----------------+
     
     a. : POST  GET;
     
     b. : http://xxxxx.com/fikker/webcache.fik?type=stat&cmd=down
     
     c.  URL :
        
        StatID - ͳƱʶ ID, ˺ƥ˳½һλ;
        SessionID - Ա¼Ự ID;
        
     +-----------------+
     |Server -> Client:|
     +-----------------+
     
     a. :
        
        Return: 
        , True - ɹ, False - ;
        
        StatID:
        ͳƱʶ ID ;
        
        ErrorNo:
        ,  Return ֵΪ False ʱ˱Ч;

9.2.5. ӷͳ:
     
     +-----------------+
     |Client -> Server:|
     +-----------------+
     
     a. : POST  GET;
     
     b. : http://xxxxx.com/fikker/webcache.fik?type=stat&cmd=add
     
     c.  URL :
        
        StatUrl - ͳ URL = Host + Path;
        Icase - ǷԴСд ignore case, (0), (1), Ĭ(0);
        Rules - ͳ URL ƥ, ʹͨƥ(0), ʹʽƥ(1), ȷƥ(2), Ĭ(0);
        Note - ע˵,  500 ֽ;
        SessionID - Ա¼Ự ID;
        
     +-----------------+
     |Server -> Client:|
     +-----------------+
     
     a. :
        
        Return: 
        , True - ɹ, False - ;
        
        StatID:
        ½ķͳƱʶ ID,  Return ֵΪ True ʱ˱Ч;
        
        ErrorNo:
        ,  Return ֵΪ False ʱ˱Ч;

9.2.6. ޸ķͳ:
     
     +-----------------+
     |Client -> Server:|
     +-----------------+
     
     a. : POST  GET;
     
     b. : http://xxxxx.com/fikker/webcache.fik?type=stat&cmd=modify
     
     c.  URL :
        
        StatID - Ҫ޸ĵķͳƱʶ ID;
        StatUrl - ͳ URL = Host + Path;
        Icase - ǷԴСд ignore case, (0), (1);
        Rules - ͳ URL ƥ, ʹͨƥ(0), ʹʽƥ(1), ȷƥ(2);
        Note - ע˵,  500 ֽ;
        SessionID - Ա¼Ự ID;
        
     +-----------------+
     |Server -> Client:|
     +-----------------+
     
     a. :
        
        Return: 
        , True - ɹ, False - ;
        
        StatID:
        ͳƱʶ ID,  Return ֵΪ True ʱ˱Ч;
        
        ErrorNo:
        ,  Return ֵΪ False ʱ˱Ч;

9.2.7. ɾͳ:
     
     +-----------------+
     |Client -> Server:|
     +-----------------+
     
     a. : POST  GET;
     
     b. : http://xxxxx.com/fikker/webcache.fik?type=stat&cmd=del
     
     c.  URL :
        
        StatID - ҪɾķͳƱʶ ID;
        SessionID - Ա¼Ự ID;
        
     +-----------------+
     |Server -> Client:|
     +-----------------+
     
     a. :
        
        Return: 
        , True - ɹ, False - ;
        
        StatID:
        ͳƱʶ ID,  Return ֵΪ True ʱ˱Ч;
        
        ErrorNo:
        ,  Return ֵΪ False ʱ˱Ч;
